package com.jic.interaction.JDVOP.model.vo.response;

import com.jic.product.after.response.ProductAfterSonResponse;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * 商品详情
 *
 * @author :
 * @version : v1.0.0
 * @email :
 * @since : 2020-01-10 07:03:01
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ProductAfterResponse {
    //商家商品id
    private long id;
    //商品编码
    private String code;
    //商品名称
    private String chineseName;
    //参考价
    private BigDecimal salePriceWithTax;
    //商品条形码
    private String barCode;
    //计量单位
    private String unitsName;
    //店铺名称
    private String storeName;
    //商家名称
    private String deptName;
    //商品店铺id
    private long storeId;
    //商家id
    private long deptId;
    //1-普通商品;2-系列子品
    private Integer typeOfProduct;
    //类目表外键
    private long categoryId;
    // 主图 图片地址
    private String pictureUrl;
    // 商品类目
    private String fullNamePath;
    //是否是BOM商品(0-否;1-是)
    private Integer bomFlag;
    //是否是Pill商品(0-否;1-是)
    private Integer pillFlag;
    private Integer canSale;
    private Integer totalStock;
    //子品
    private List<ProductAfterSonResponse> productAfterSonResponse;

}
